// 引入ajax
import services from '../../services/services.js'


class user {
    // 更新用户信息
    userUpdate(data, isLoading = false) {
        return services.ajax({
            url: '/v1/user/update',
            data: data,
            method: 'POST',
            isLoading
        })
    }

}


module.exports = new user()